$def with (privData)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
$:privData['render'].header(privData)
<body>
$:privData['render'].pageheader(privData)

<h2>$:privData['NAME'] </h2><a href="$makeUrl('/admin/video/add')">添加</a>| <a id="deleteBatch" href="#" name="video">批量删除</a>
<table width="800" border="0" cellspacing="0" cellpadding="1" class="list">
    <tr>
        <th><input type="checkbox" id="selectall"/></th>
        <th>缩略图</th>
        <th>ID</th>
        <th>专辑</th>
        <th>标题</th>
        <th>时长</th>
        <th>分辨率</th>
        <th>描述</th>
        <th>状态</th>
        <th>管理</th>
    </tr>
    $for i in privData['VIDEO_LIST']:
    <tr>
        <td align="center"><input type="checkbox" class="case" name="ids" value="$:i['id']"/></td> 
        <td align="center">
            <a href="$makeUrl('/admin/video/screenshot',{'id':i['id']})">
                <img src="$makeUrl('/admin/video/thumbnail',{'id':i['id']})"/>
            </a>
        </td>
        <td align="center">$:i['id']</td> 
        <td align="center">$:privData['ALBUM_LIST'][i['album']]</td>
        <td align="center">$subStr(i['title'], 0, 16)</td>
        <td align="center">$:i['duration']秒</td>
        <td align="center">$:i['width'] x $:i['height']</td>
        <td align="center">$subStr(i['desc'], 0, 16)</td>
        <td align="center">$:privData['STATUS_LIST'][i['status']] </td>
        <td align="center">
            <a href="$makeUrl('/video/play',{'id':i['id']})" >查看</a> |
            <a href="$makeUrl('/admin/video/edit',{'id':i['id']})" >编辑</a> |
            <a href="$makeUrl('/admin/video/delete',{'id':i['id']})" onclick="return confirm('确认删除？')">删除</a>
        </td>
    </tr>
</table>

<nav class="navigation">
    $:privData['PAGE_STRING']
</nav>

<div style="clear: both;"></div>
</div>
</body></html>
